<template>
	<view>
		<view class="dialer-receive-title">
			<view class="dialer-receive-icon" :style="{backgroundColor:backgroundColor}"></view>
			<view class="dialer-receive-title1" :style="{color:color,fontSize:fontSize,fontWeight:fontWeight}">{{name}}</view>
			<view class="dialer-receive-icon" :style="{backgroundColor:backgroundColor}"></view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			name:String,
			color:{
				type:String,
				default:'#FFF6DF'
			},
			fontSize:{
				type:String,
				default:'13px'
			},
			fontWeight:{
				type:String,
				default:'400'
			},
			backgroundColor:{
				type:String,
				default:'#FFF6DF'
			}
		},
		data(){
			return {
				
			}
		},
	}
</script>

<style lang="scss">
	.dialer-receive-title1{
		font-size: 13px;
		margin: 0 30rpx;
		letter-spacing: 2px;
	}
	.dialer-receive-icon{
		width: 80rpx;
		height: 2rpx;
		border-radius: 12rpx;
		opacity: 1;
	}
	.dialer-receive-title{
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>